
#include "junix.h"
#include <boost/signal.hpp>
using namespace std;

struct HelloWorld 
{
	void operator()() const 
	{ 
		std::cout << "Hello, World!" << std::endl;
	} 
};

int main(int argc, char **argv)
{
	boost::signal<void ()> sig;
	HelloWorld hello;
	sig.connect(hello);
	sig();
}
